package com.cc.mapper;

import com.cc.entity.Book;
import com.cc.entity.BookCategory;

import java.util.List;
import java.util.Map;

public interface BookMapper {
    List<Book> selectAllBooks();
    List<Book> searchBooks(Map<String, Object> params);
    void insertBook(Book book);
    void updateBook(Book book);
    List<BookCategory> selectAllCategories();
}
